package com.ssy.file.service.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 文件上传服务器类型配置类
 * @author jw.chen
 * @version 2.0.0
 * @date 2021/7/10
 */
@Component
@Configuration
public class ServerTypeConfig {

	@Value("${file.serverType}")
	private Integer serverType;	//服务器类型

	public Integer getServerType() {
		return serverType;
	}

	public void setServerType(Integer serverType) {
		this.serverType = serverType;
	}

}
